package com.apps.ftapp.model;

/**
 * Created by Administrator on 2017/10/25.
 */

public class AlipayModel {


    /**
     * success : 1
     * order : {"id":"39227","sn":"C2017102517411671777","status":"created","title":"购买图书《第二批：预售\u201c押题神卷\u201d2018最新版 全真考场押题试卷（上册）》","targetType":"book","targetId":"210","amount":"0.10","totalPrice":"0.10","isGift":"0","giftTo":"","discountId":"0","discount":"10.00","token":"","refundId":"0","userId":"1","coupon":"","couponDiscount":"0.00","payment":"alipay","coinAmount":"0.00","coinRate":"1.00","priceType":"RMB","bank":"","paidTime":"0","cashSn":"","note":"","data":"","createdTime":"1508924476","addressid":"2380","qqqun":"0","kuaididanhao":"","gongsi":""}
     * str : alipay_sdk=alipay-sdk-php-20161101&amp;app_id=2017101109240970&amp;biz_content=%7B%22body%22%3A%22%E8%B4%AD%E4%B9%B0%E5%9B%BE%E4%B9%A6%E3%80%8A%E7%AC%AC%E4%BA%8C%E6%89%B9%EF%BC%9A%E9%A2%84%E5%94%AE%E2%80%9C%E6%8A%BC%E9%A2%98%E7%A5%9E%E5%8D%B7%E2%80%9D2018%E6%9C%80%E6%96%B0%E7%89%88+%E5%85%A8%E7%9C%9F%E8%80%83%E5%9C%BA%E6%8A%BC%E9%A2%98%E8%AF%95%E5%8D%B7%EF%BC%88%E4%B8%8A%E5%86%8C%EF%BC%89%E3%80%8B%22%2C%22subject%22%3A+%22App%E6%94%AF%E4%BB%98%E6%B5%8B%E8%AF%95%22%2C%22out_trade_no%22%3A+%22C2017102517411671777%22%2C%22timeout_express%22%3A+%2230m%22%2C%22total_amount%22%3A+%220.10%22%2C%22product_code%22%3A%22QUICK_MSECURITY_PAY%22%7D&amp;charset=UTF-8&amp;format=json&amp;method=alipay.trade.app.pay&amp;notify_url=http%3A%2F%2Fapi.iweishi.cn%2Fpay%2Fcenter%2Fpay%2Falipay%2Fnotify&amp;sign_type=RSA2&amp;timestamp=2017-10-25+17%3A41%3A16&amp;version=1.0&amp;sign=Nu62NPONTabe3lVmQUmAbZGUrcfm0Uo4pf4RIEX19LEc1QAU0MXV%2FWdKTQjFShaCbcR%2Bnt%2BRVlVV9Dk%2F%2F0Iwzp2UN1i6KUvPKbiAhHBIgeLViAca0Tjbv3PGhVdfrtV%2F4Dw%2FX4WD08F9sXOrD9RAphmm3P3OETpUS1U3JtiCS%2BiY6oixqucOm4nDxhrf0wfhI%2Fo6pmo8z1MH4TBY3Pu8BqhNGQwa3DcpYK1EkwQYsnxfVzHnZNM5TwlwIgXjXfg3zZeZLKUPDKww5r41k9xUOkxzrOJm8%2Fb592tXvl536fDN6722%2FinBWGOMC1iqBJSvHKgn3LhVGnUJYtB7Jl0olw%3D%3D
     */

    private int success;
    private OrderBean order;
    private String str;
    private String error;

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public String getStr() {
        return str;
    }

    public void setStr(String str) {
        this.str = str;
    }

    public static class OrderBean {
        /**
         * id : 39227
         * sn : C2017102517411671777
         * status : created
         * title : 购买图书《第二批：预售“押题神卷”2018最新版 全真考场押题试卷（上册）》
         * targetType : book
         * targetId : 210
         * amount : 0.10
         * totalPrice : 0.10
         * isGift : 0
         * giftTo :
         * discountId : 0
         * discount : 10.00
         * token :
         * refundId : 0
         * userId : 1
         * coupon :
         * couponDiscount : 0.00
         * payment : alipay
         * coinAmount : 0.00
         * coinRate : 1.00
         * priceType : RMB
         * bank :
         * paidTime : 0
         * cashSn :
         * note :
         * data :
         * createdTime : 1508924476
         * addressid : 2380
         * qqqun : 0
         * kuaididanhao :
         * gongsi :
         */

        private String id;
        private String sn;
        private String status;
        private String title;
        private String targetType;
        private String targetId;
        private String amount;
        private String totalPrice;
        private String isGift;
        private String giftTo;
        private String discountId;
        private String discount;
        private String token;
        private String refundId;
        private String userId;
        private String coupon;
        private String couponDiscount;
        private String payment;
        private String coinAmount;
        private String coinRate;
        private String priceType;
        private String bank;
        private String paidTime;
        private String cashSn;
        private String note;
        private String data;
        private String createdTime;
        private String addressid;
        private String qqqun;
        private String kuaididanhao;
        private String gongsi;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getSn() {
            return sn;
        }

        public void setSn(String sn) {
            this.sn = sn;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getTargetType() {
            return targetType;
        }

        public void setTargetType(String targetType) {
            this.targetType = targetType;
        }

        public String getTargetId() {
            return targetId;
        }

        public void setTargetId(String targetId) {
            this.targetId = targetId;
        }

        public String getAmount() {
            return amount;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getTotalPrice() {
            return totalPrice;
        }

        public void setTotalPrice(String totalPrice) {
            this.totalPrice = totalPrice;
        }

        public String getIsGift() {
            return isGift;
        }

        public void setIsGift(String isGift) {
            this.isGift = isGift;
        }

        public String getGiftTo() {
            return giftTo;
        }

        public void setGiftTo(String giftTo) {
            this.giftTo = giftTo;
        }

        public String getDiscountId() {
            return discountId;
        }

        public void setDiscountId(String discountId) {
            this.discountId = discountId;
        }

        public String getDiscount() {
            return discount;
        }

        public void setDiscount(String discount) {
            this.discount = discount;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public String getRefundId() {
            return refundId;
        }

        public void setRefundId(String refundId) {
            this.refundId = refundId;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getCoupon() {
            return coupon;
        }

        public void setCoupon(String coupon) {
            this.coupon = coupon;
        }

        public String getCouponDiscount() {
            return couponDiscount;
        }

        public void setCouponDiscount(String couponDiscount) {
            this.couponDiscount = couponDiscount;
        }

        public String getPayment() {
            return payment;
        }

        public void setPayment(String payment) {
            this.payment = payment;
        }

        public String getCoinAmount() {
            return coinAmount;
        }

        public void setCoinAmount(String coinAmount) {
            this.coinAmount = coinAmount;
        }

        public String getCoinRate() {
            return coinRate;
        }

        public void setCoinRate(String coinRate) {
            this.coinRate = coinRate;
        }

        public String getPriceType() {
            return priceType;
        }

        public void setPriceType(String priceType) {
            this.priceType = priceType;
        }

        public String getBank() {
            return bank;
        }

        public void setBank(String bank) {
            this.bank = bank;
        }

        public String getPaidTime() {
            return paidTime;
        }

        public void setPaidTime(String paidTime) {
            this.paidTime = paidTime;
        }

        public String getCashSn() {
            return cashSn;
        }

        public void setCashSn(String cashSn) {
            this.cashSn = cashSn;
        }

        public String getNote() {
            return note;
        }

        public void setNote(String note) {
            this.note = note;
        }

        public String getData() {
            return data;
        }

        public void setData(String data) {
            this.data = data;
        }

        public String getCreatedTime() {
            return createdTime;
        }

        public void setCreatedTime(String createdTime) {
            this.createdTime = createdTime;
        }

        public String getAddressid() {
            return addressid;
        }

        public void setAddressid(String addressid) {
            this.addressid = addressid;
        }

        public String getQqqun() {
            return qqqun;
        }

        public void setQqqun(String qqqun) {
            this.qqqun = qqqun;
        }

        public String getKuaididanhao() {
            return kuaididanhao;
        }

        public void setKuaididanhao(String kuaididanhao) {
            this.kuaididanhao = kuaididanhao;
        }

        public String getGongsi() {
            return gongsi;
        }

        public void setGongsi(String gongsi) {
            this.gongsi = gongsi;
        }
    }
}
